package com.stylefeng.guns.modular.system.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author durui123
 * @since 2018-05-03
 */
public class Collectmoney extends Model<Collectmoney> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("contract_number")
    private String contractNumber;
    @TableField("uncollect_money")
    private Double uncollectMoney;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getContractNumber() {
        return contractNumber;
    }

    public void setContractNumber(String contractNumber) {
        this.contractNumber = contractNumber;
    }

    public Double getUncollectMoney() {
        return uncollectMoney;
    }

    public void setUncollectMoney(Double uncollectMoney) {
        this.uncollectMoney = uncollectMoney;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Collectmoney{" +
        "id=" + id +
        ", contractNumber=" + contractNumber +
        ", uncollectMoney=" + uncollectMoney +
        "}";
    }
}
